package com.tkjt.pms.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**   
 * @Title: Entity
 * @Description: 报表导出
 * @author onlineGenerator
 * @date 2019-12-07 20:26:01
 * @version V1.0   
 *
 */
@Data
@TableName("tk_index_report")
public class TkIndexReport implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
	private String id;
	/**数据类型，kpi:考核数据; budget:预算数据*/
	private String dataType;
	/**考核期*/
	@Excel(name = "考核期", width = 15)
	private String indexYearMonth;
	/**指标归属*/
	@Excel(name = "指标归属", width = 15)
	private String indexGroup;
	/**RHC:医院&社区;RDP:养康本部;RHCH:医院&社区(领导);RDPH:养康本部*/
	@Excel(name = "RHC:医院&社区;RDP:养康本部;RHCH:医院&社区(领导);RDPH:养康本部", width = 15)
	private String reportCode;
	/**报表名称*/
	@Excel(name = "报表名称", width = 15)
	private String reportName;
	/**0:有错误; 1:已就绪; 2:生成中; 3:已生成; 4:已下载*/
	@Excel(name = "0:有错误; 1:已就绪; 2:生成中; 3:已生成; ", width = 15)
	private Integer reportStatus;
	/**报表生成时间*/
	@Excel(name = "报表生成时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date reportDate;
	/**下载次数*/
	@Excel(name = "下载次数", width = 15)
	private Integer downloadTimes;
	/**最近一次下载时*/
	@Excel(name = "最近一次下载时", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date downloadDate;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
	private String createBy;
	/**createDate*/
	@Excel(name = "createDate", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date createDate;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
	private String updateBy;
	/**updateDate*/
	@Excel(name = "updateDate", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date updateDate;

}
